#!/bin/bash

if [ ! -f /tmp/lock_populate_xenia_usgs ]; then
  touch /tmp/lock_populate_xenia_usgs
  ./getUsgs.pl|psql -U rcoosx -d rcoos
#  ./populate_latest_obs_by_station_id &
#  ./xenia_sqlite_to_obskml.pl usgs
 # ./obskml_to_html_content_sqlite.pl usgs
  rm -f /tmp/lock_populate_xenia_usgs
fi
